package com.lcq.study.extend;

/**
 * @ClassName ExtendTest
 * @Description
 * @Author lichuanqi
 * @Date 2023/3/11 13:51
 * @Version 1.0
 **/
public class ExtendTest {
    public static void main(String[] args) {
        HLPig hlPig = new HLPig();
        hlPig.haha();

        Pig pig = (Pig) hlPig;
        pig.haha();
    }
}
